package com.jt.controller;

import com.jt.pojo.Person;
import com.jt.service.PersonService;

/**
 * @outhor fufeixiang
 * @date 2021-04-22
 */
public class Controller {
    private PersonService personService;
    private Person person;

    public void setPersonService(PersonService personService) {
        this.personService = personService;
    }
    public void setPerson(Person person) {
        this.person = person;
    }
    public void addPerson(){
        personService.addPerson(this.person);
    }

}
